#ifndef ADDPET_H
#define ADDPET_H

#include <QDialog>
#include <sqlconn.h>
#include <QButtonGroup>

namespace Ui {
class AddPet;
}

class AddPet : public QDialog
{
    Q_OBJECT

public:
    explicit AddPet(QWidget *parent = nullptr);
    ~AddPet();
    void setSQL(SQLConn*&);


private slots:
    void on_pushButton_2_clicked();

    void on_pushButton_clicked();

private:
    Ui::AddPet *ui;
    SQLConn* sql;
    QString m_name;
    float m_age;
    QString m_sex;
    QString m_kind;
    QString m_owner_name;
    int m_owner_id;
    QString m_status;
    QButtonGroup *sexBtn;
};

#endif // ADDPET_H
